package com.button.boot.quartz.alone.timertask;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class QuartzTaskJob implements Job {
    private static final Logger logger = LoggerFactory.getLogger(QuartzTaskJob.class);

    @Override
    public void execute(JobExecutionContext context) throws JobExecutionException {
        logger.info("--------------定时任务时间到了---------------------");
        logger.info("--------------定时任务执行逻辑---------------------");
    }

}
